package com.spring.springboot.timer;

import java.util.Date;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
*@author LSY
*Time: 2018年12月21日上午10:40:36
*
*
*/
public class GoodStockCheckTimer extends QuartzJobBean{

	static Logger logger = LoggerFactory.getLogger(GoodStockCheckTimer.class);
	
	@Override
	protected void executeInternal(JobExecutionContext context) throws JobExecutionException {

		logger.info("分布式节点quartz-cluster-node-second,执行库存检查定时任务，执行时间{}", new Date());
	}

}
